package com.hdsx.netty.rpcclient.netty;

import com.hdsx.netty.api.OrderServer;

/**
 * @author 占贤银
 * time 2024/8/14 21:13
 * description 生命之灯因热情而点燃，生命之舟因拼搏而前行
 */
public class NettyClient {

    public static void main(String[] args) {
        NettyProxy proxy = new NettyProxy(8080);
        OrderServer server = proxy.createProxy(OrderServer.class);
        String result = server.getOrderMsg();
        System.out.println("result = " + result);

    }
}
